/**
 * Created by liangdi on 1/6/16.
 */

(function(){
    'use strict';

    angular.module("todo",["ngMaterial"])
        .controller("TodoController",[
            "$scope",'$mdSidenav',
            function($scope,$mdSidenav){

                var vm = this;

                vm.toggleLeft = toggleLeft;

                function toggleLeft(){
                    $mdSidenav('left').toggle();
                }
            }
        ]);

})()
